from fastapi import Depends, FastAPI

from database import Base, engine
from user import user

Base.metadata.create_all(bind=engine)

app = FastAPI()

app.include_router(
    user.router,
    prefix="/api",
)


@app.get("/")
async def root():
    return {"message": "Hello Bigger Applications!"}
